package com.modemMgr.dao;

import java.util.List;

import com.modemMgr.util.DBAccessor;
import com.modemMgr.vo.ItemType;

public class ItemTypeDAO extends BaseDAO{
	public ItemTypeDAO(DBAccessor dbAccessor) {
		super(dbAccessor);
	}

	public List<ItemType> getAllItemTypes() throws Exception
	{
		String sql = "select * from item_types";
		List<ItemType> list = dbAccessor.queryList(ItemType.class, sql);
		return list;
	}
}
